package com.bwie.service;

import com.bwie.pojo.TbMenu;
import com.bwie.pojo.TbUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bwie.utils.Result;
import com.bwie.vo.PageUserVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【tb_user(用户表)】的数据库操作Service
* @createDate 2025-05-21 13:44:45
*/
public interface TbUserService extends IService<TbUser> {

    List<TbMenu> getMenuTree(Integer userId);

    Result getUserList(PageUserVo pageUserVo);

    Result updateUser(TbUser tbUser);

    Result uploadFile(MultipartFile file);

    Result deleteById(Integer id);

    Result deleteBatch(List<TbUser> userList);

    Result checkUser(TbUser tbUser);
}
